<!DOCTYPE html>
<html lang="zh_cn">
<!-- 设置缓存2小时，max-age指最大缓存的秒数 -->
<meta http-equiv="Cache-Control" content="max-age=7200" />
<head>
    <meta charset="UTF-8">
    <script src="/jslib/jquery-1.10.2.js"></script>
    <script src="/jslib/tools.js"></script>
    <link rel="stylesheet" href="/jslib/reset.css">
</head>
<body>
<div class="zhtt-nav">
    <div class="left">
        <ul>
            <li>
                <a href="/">首页</a>
            </li>
            <li>
                <a href="/test/list.html">freemarker</a>
            </li>
        </ul>
    </div>
    <div class="right">
        <div class="icon-user"></div>
        <div class="loginUserName"></div>
        <a class="login-a" href="/login.html">登录</a>
    </div>
</div>
<h2>
    SpringBoot + FreeMarker + Nginx实现页面静态化技术解决方案
</h2>
<div class="layout-center">
    <table border="1">
        <thead>
        <tr>
            <th>序号</th>
            <th>名称</th>
            <th>年龄</th>
            <th>时间</th>
        </tr>
        </thead>
        <#list list as article>
            <tr>
                <td>${article.id}</td>
                <td>${article.name}</td>
                <td>${article.age}</td>
                <td>${article.dateStr}</td>
            </tr>
        </#list>
    </table>
</div>
</body>
</html>
